package cn.iocoder.yudao.module.reading.dal.dataobject.hidden;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.time.LocalDateTime;

/**
 * 用户隐藏项目 DO
 *
 * @author 李晨
 */
@TableName("user_hidden_items")
@KeySequence("user_hidden_items_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserHiddenItemsDO extends BaseDO {

    /**
     * 隐藏记录ID
     */
    @TableId
    private Long id;
    
    /**
     * 用户ID
     */
    private Long userId;
    
    /**
     * 隐藏项类型
     * 
     * 枚举值：book_set, book, audio, reading_record, favorite
     */
    private String itemType;
    
    /**
     * 隐藏项ID
     */
    private Long itemId;
    
    /**
     * 隐藏时间
     */
    private LocalDateTime hiddenTime;

}
